package com.zfy.servicebase.exceptionhandler;
// token异常
public class TokenErrorException extends RuntimeException{
    private static final long serialVersionUID = 1L;

    private final String message;

    public TokenErrorException(String message) {
        this.message = message;
    }

    public TokenErrorException(String message, Throwable e) {
        super(message, e);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

}
